const service = require("../../utils/service.js").service

module.exports.addressList = (userId) => service({ url: "/medicine/address/user/" + userId })
module.exports.getModel = (id) => service({ url: "/medicine/address/" + id })
module.exports.add = (data) => service({ url: "/medicine/address", data, method: "post" })
module.exports.update = (data) => service({ url: "/medicine/address", data, method: "put" })
module.exports.remove = (id) => service({ url: "/medicine/address/" + id, method: "delete" })
